<style>
.ly_area {
margin: 8px 0;
height: 225px;
}
div {
display: block;
}
</style>
<style type="text/css">
.ly_area{margin:8px 0;height:225px;}
.ly_area ul li{float:left;width:199px;margin:16px 0px 0px;text-align:center;height:180px;overflow:hidden;}
.ly_area ul li div{width:170px;margin:0px auto;}
.ly_area ul li p{margin-top:2px;}
.ly_area ul li img{width:170px;height:150px;}
.ly_area ul li p img{width:77px;height:23px;}
</style>
<div class="ly_area">
	<?php 
	$pro = Acctproduct::getProduct($_SESSION['acct']['admin_id'], $_SESSION['acct']['agent_id'])
	?>
	<div>
		<ul>
		<?php foreach ($pro as $k=>$v):?>
		<li><div>
				<a href="<?php echo $v->url;?>" target="_blank"><img src="/<?php echo $v->img;?>"></a>
				<p>
					<a href="<?php echo $v->url;?>" target="_blank"><?php echo $v->title;?></a>
					
				</p>
			</div></li>
		<?php endforeach;?>
			
			
			
			<li style="clear:both;height:1px;float:none;margin:0px;"></li>
		</ul>
	</div>
	<div class="clear:both;"></div>
</div>